import { request } from '@/utils/request'

// 获取品牌列表
export const getBrandListApi = object => request('admin/brand/brand/index', 'post', { data: object })
// 获取oss信息
export const getUploadSts = object => request('admin/common/upload/sts', 'post', { data: object })
// 品牌信息修改
export const editBrandListApi = object => request('admin/brand/brand/edit', 'post', { data: object })


// 获取公告栏列表
export const getMessageListApi = object => request('admin/system/message/index', 'post', { data: object })
// 公告信息修改
export const editMessageListApi = object => request('admin/system/message/edit', 'post', { data: object })
// 公告信息 添加
export const addMessageListApi = object => request('admin/system/message/add', 'post', { data: object })
// 公告信息 删除
export const delMessageListApi = object => request('admin/system/message/del', 'post', { data: object })


// 获取轮播图列表
export const getBannerListApi = object => request('admin/brand/banner/index', 'post', { data: object })
// 轮播图列表  新增
export const addBannerListApi = object => request('admin/brand/banner/add', 'post', { data: object })
// 轮播图列表  修改
export const editBannerListApi = object => request('admin/brand/banner/edit', 'post', { data: object })
// 轮播图列表  删除
export const delBannerListApi = object => request('admin/brand/banner/del', 'post', { data: object })
// 获取轮播图位置列表
export const getgetTypeList = object => request('admin/brand/banner/getType', 'post', { data: object })

// 获取推广图列表
export const getSharePictureListApi = object => request('admin/system/SharePicture/index', 'post', { data: object })
export const addSharePictureListApi = object => request('admin/system/SharePicture/add', 'post', { data: object })
export const delSharePictureListApi = object => request('admin/system/SharePicture/del', 'post', { data: object })
export const editSharePictureListApi = object => request('admin/system/SharePicture/edit', 'post', { data: object })

// 获取朋友圈文案列表
export const getWechatmessageListApi = object => request('admin/system/WechatMessage/index', 'post', { data: object })
export const addWechatmessageListApi = object => request('admin/system/WechatMessage/add', 'post', { data: object })
export const delWechatmessageListApi = object => request('admin/system/WechatMessage/del', 'post', { data: object })
export const editWechatmessageListApi = object => request('admin/system/WechatMessage/edit', 'post', { data: object })


// 获取图文管理列表
export const getCategoryselectPage = object => request('admin/cms/category/selectPage', 'get', { params: object })
export const getArticleListApi = object => request('admin/cms/article/index', 'post', { data: object })
export const addArticleListApi = object => request('admin/cms/article/add', 'post', { data: object })
export const delArticleListApi = object => request('admin/cms/article/del', 'post', { data: object })
export const editArticleListApi = object => request('admin/cms/article/edit', 'post', { data: object })

// 获取隐私协议/
export const getPrivacyAgreementInfo = object => request('admin/system/Introduce/privacyAgreement', 'get', { params: object })
export const writePrivacyAgreementInfo = object => request('admin/system/Introduce/privacyAgreement', 'post', { data: object })


// 获取关于我们
export const getIntroduceaboutUs = object => request('admin/system/Introduce/aboutUs', 'get', { params: object })
export const writeIntroduceaboutUs = object => request('admin/system/Introduce/aboutUs', 'post', { data: object })


// 获取客服管理
export const getServiceListApi = object => request('admin/brand/service/index', 'post', { data: object })
export const addServiceListApi = object => request('admin/brand/service/add', 'post', { data: object })
export const delServiceListApi = object => request('admin/brand/service/del', 'post', { data: object })
export const editServiceListApi = object => request('admin/brand/service/edit', 'post', { data: object })


// 获取客服管理
export const getFeedbackListApi = object => request('admin/user/feedback/index', 'post', { data: object })
export const editFeedbackListApi = object => request('admin/user/feedback/edit', 'post', { data: object })